﻿<%@ Page Language="C#" MasterPageFile="~/GUIMaster.Master" AutoEventWireup="true" CodeBehind="UserInformation.aspx.cs" 
Inherits="TripLOA.GUI.roles.UserInformation" Title="Manage Users" culture="auto" meta:resourcekey="PageResource1" uiculture="auto" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentHomePage" runat="server">

    <br />
    <asp:Label ID="UI" runat="server" Text="User Information" 
        CssClass="label_title_sec" meta:resourcekey="UIResource1"></asp:Label>
    <br />    
    <br />
    <asp:Label ID="lab_is_user_reg" runat="server" Text=""
    ></asp:Label>
    <br />
    <br />
    <br />
    
    <div id="panel_controls_header"></div>
        <div class="panel_controls_line">
    
    <asp:Literal ID="lit_username" runat="server" Text=" " 
                meta:resourcekey="lit_usernameResource1"></asp:Literal>    
    <asp:Label ID="lab_username" runat="server" meta:resourcekey="lab_usernameResource1"></asp:Label>
    
    </div>
    <div class="panel_controls_separator"></div>
        <div class="panel_controls_line">
    <asp:Literal ID="lit_mail" runat="server" meta:resourcekey="lit_mailResource1"></asp:Literal>    
    <asp:Label ID="lab_mail" runat="server" meta:resourcekey="lab_mailResource1"></asp:Label>
            <br />
            <asp:Literal ID="lit_locked" runat="server" meta:resourcekey="lit_lockedResource"></asp:Literal>
            <asp:Label ID="lab_last_lock_date" runat="server" meta:resourcekey="lab_last_lock_dateResource"></asp:Label>
            <asp:Button ID="but_unlock" runat="server" CssClass="button_generics" Text="Unlock" 
                Width="80px" meta:resourcekey="but_unlockResource" 
                onclick="but_unlock_Click" />
    <br />
    </div>
    <div class="panel_controls_separator"></div>
        <div class="panel_controls_line">
    <asp:Literal ID="lit_Roles" runat="server" meta:resourcekey="lit_RolesResource1"></asp:Literal>
    <br />
    <br />
    <asp:Repeater ID="UsersRoleList" runat="server">
            <ItemTemplate> 
          <asp:CheckBox runat="server" ID="RoleCheckBox" AutoPostBack="True" 
               Text='<%# Container.DataItem %>'
               OnCheckedChanged="RoleCheckBox_CheckChanged" meta:resourcekey="RoleCheckBoxResource1" 
                /> 
          <br /> 
     </ItemTemplate> 
            </asp:Repeater>
    <br />
    </div>
    <div id="panel_controls_footer"></div>
    <br />
    <asp:Label ID="lab_status" runat="server" CssClass="label_title_sec" 
    Font-Bold="True" meta:resourcekey="lab_statusResource1"></asp:Label>
    <br />
    <br />
    <br />
    <asp:HyperLink ID="label_go_to_MRoles" runat="server" 
            NavigateUrl="ManageRolesToUsers.aspx" Text="Users Management Page" meta:resourcekey="label_go_to_MRolesResource1" 
            ></asp:HyperLink>
    <br />
    <br />
    <br />
    <br />
    <br />
</asp:Content>